package com.shelpe.services.scheduler.syncclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shelpe.services.scheduler.dto.RptCustomerDto;


@FeignClient(name="${simbasync.serviceID}", url="${simbasync.url}")
@RequestMapping(value = "/simbasync")
public interface AuthorizeClient {

	@RequestMapping(method = RequestMethod.GET, value = "/tenants/{user_id}/@authorize")
	public RptCustomerDto syncAuthorizeByUser(@PathVariable("user_id") long userId);
	
}
